using WebRtcProject.Models;

namespace WebRtcProject.Services
{
    public interface IUserService
    {
        Task<User> CreateUserAsync(string name, string connectionId);
        Task<User?> GetUserAsync(string userId);
        Task<User?> GetUserByConnectionIdAsync(string connectionId);
        Task<List<User>> GetAllUsersAsync();
        Task<bool> UpdateUserAsync(User user);
        Task<bool> DeleteUserAsync(string userId);
        Task<bool> SetUserOnlineStatus(string userId, bool isOnline);
    }
} 